package com.tao.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tao.pojo.Answerer;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */

public interface AnswererService extends IService<Answerer> {
    List<Answerer> selectAll();

    int addAnswerSum(Long id);

    Answerer selectByid(Long id);

    Answerer selectByUsername(String  username);

    boolean addAnswerer(Answerer answerer);

    List<Answerer> selectPageVo(Page<?> page);

    int getCount();
}
